@echo off
:BEGIN
cls

set choice = 
set /p choice=Are you sure you want to remove source control bindings [Y/N]? 
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='Y' goto REMOVEBINDINGS
if '%choice%'=='y' goto REMOVEBINDINGS
goto END


:REMOVEBINDINGS
for /R %%i in (.) do rmdir "%%i\.svn" /s /q
echo bindings removed
pause

:END